<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel='stylesheet' type="text/css" href="/Public/admin/css/style.css" />
<script type="text/javascript" src="/Public/admin/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/Public/admin/js/common.js"></script>
<script type="text/javascript" src="/Public/admin/js/jquery.form.min.js"></script>
<script type="text/javascript" src="<?php echo U(MODULE_NAME. '/Public/editor');?>"></script>

</head>
<body>
<div class="main">
    <div class="pos">订单管理</div>
	<div class="form">
		<form method='post' id="form_do" name="form_do" action="<?php echo U(MODULE_NAME. '/guahao/edit');?>">
        <dl><dt>联系人：</dt>
			<dd><?php echo ($tRow["contact"]); ?></dd>
		</dl>

		<dl><dt>手机号：</dt>
			<dd><?php echo ($tRow["phone"]); ?></dd>
		</dl>
        <dl><dt>地址：</dt>
            <dd><?php echo ($tRow["address"]); ?></dd>
		</dl>
        <dl><dt>就诊时间：</dt>
            <dd><?php echo ($tRow["visiting_date"]); ?></dd>
		</dl>
        <dl><dt>病症描述：</dt>
            <dd><?php echo ($tRow["illness"]); ?></dd>
		</dl>
        <dl><dt>专家名称：</dt>
            <dd><?php echo ($tRow["zj_name"]); ?> &nbsp;    <label style='color:red'><?php if($tRow["recommend"] == 1 ): ?>推荐<?php endif; ?></label></dd>
		</dl>

        <dl><dt>医院：</dt>
            <dd><?php echo ($tRow["yy_name"]); ?></dd>
		</dl>
        <dl><dt>订单时间：</dt>
            <dd><?php echo (date('Y-m-d H:i:s', $tRow["created"])); ?></dd>
		</dl>

		<dl>
			<dt>备注 ：</dt>
            <dd><textarea name='remark'><?php echo ($tRow["remark"]); ?></textarea></dd>
		</dl>	
		<dl>
			<dt>操作 ：</dt>
            <dd>
            <input type='radio' name='status' value='1' <?php if($tRow["status"] == 0 ): ?>checked<?php endif; ?> />未处理 
            <input type='radio' name='status' value='1' <?php if($tRow["status"] == 1 ): ?>checked<?php endif; ?> />成功 
            <input type='radio' value='2' name='status' <?php if($tRow["status"] == 2 ): ?>checked<?php endif; ?> />作废</dd>
		</dl>	

		</div>
		<div class="form_b">
            <input type='hidden' name='id' value='<?php echo ($tRow['id']); ?>' />
			<input type="submit" class="btn_blue" id="submit" value="提 交">
		</div>
	   </form>
	</div>


</body>
</html>